package com.gitee.wsl.ext.set


/**
 * @param src1
 * Original set.
 * @param src2
 * Additional set.
 * @param <T>
 * Type of content.
 *
 * @return Set of containing only the items not shared by the two sets.
</T> */
fun <T> disjoint(src1: Set<T>, src2: Set<T>): Set<T> {
    val results = HashSet(src1)
    results.removeAll(src2)
    return results
}
